package com.example.administrator.myapplication;

import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;

import com.example.administrator.myapplication.adapter.HelpListAdapter;

public class HelpActivity extends Activity {

    private final static String[] mTitle = { "游戏操作", "游戏系统"};
    private final static String[] mContent = {
            "\n一、基本操作\n" + "点击欲移动格子进行移动.\n"+ "点击缩略图查看原图。\n"+"点击播放图标重放游戏步骤。\n"
                    + "游戏中按手机返回键:弹出菜单中选择返回选关界面;\n\n"
                    + "二、难度设定\n" + "游戏根据简单，普通，困难三个难度将拼图分割为3*3,4*4,5*5三种样式。\n\n",
            "\n在主菜单点击积分排名按钮可查看每个难度下过关的最短时间。"
    };
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_help);

        ListView listView = (ListView) findViewById(R.id.help_list);
        HelpListAdapter adapter = new HelpListAdapter(this,mTitle,mContent);
        listView.setAdapter(adapter);
    }
}
